FROM python:3
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
RUN mkdir /vendors
WORKDIR /code
ADD ./requirements.txt /vendors/
RUN pip install -r /vendors/requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com